package com.cn.jinhao.hotline.provider.huawu.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

@Data
@ApiModel(value = "SeatReqeustVO", description = "坐席信息")
public class SeatReqeustVO {
    @ApiModelProperty(value = "队列号")
    @NotEmpty(message = "坐席队列号不能为空")
    String queueCode;

    @ApiModelProperty(value = "坐席手机号")
    @NotEmpty(message = "坐席手机号不能为空")
    String phone;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date updateTime = new Date();
}
